aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/spec/newgem_spec.rb.tt')
-rw-r--r--lib/bundler/templates/newgem/spec/newgem_spec.rb.tt11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
new file mode 100644
index 0000000000..b7ef7f9e4a
--- /dev/null
+++ b/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
@@ -0,0 +1,11 @@
+require "spec_helper"
+
+RSpec.describe <%= config[:constant_name] %> do
+ it "has a version number" do
+ expect(<%= config[:constant_name] %>::VERSION).not_to be nil
+ end
+
+ it "does something useful" do
+ expect(false).to eq(true)
+ end
+end