summaryrefslogtreecommitdiff
path: root/spec/cli_spec.rb
diff options
context:
space:
mode:
authorDickson S. Guedes2011-05-13 04:59:20 +0000
committerDickson S. Guedes2011-05-13 04:59:20 +0000
commite67ed03ef3745f97c88eeb2de369eff071e97197 (patch)
tree266d4c9eb6104ce43167a51c8a34bfc613f27686 /spec/cli_spec.rb
parentd77609aab308688948f6f206f66763d71b8e123d (diff)
fixed libdir for control file and added version testv0.0.4
Diffstat (limited to 'spec/cli_spec.rb')
-rw-r--r--spec/cli_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index 2005756..57cb7b7 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -52,7 +52,8 @@ describe PgxnUtils::CLI do
makefile.should match(/EXTENSION = #{expected_extension}/)
control = File.read("/tmp/#{expected_extension}/#{expected_extension}.control")
- control.should match(/module_pathname = '\/#{expected_extension}'/)
+ control.should match(/module_pathname = '\$libdir\/#{expected_extension}'/)
+ control.should match(/default_version = '#{expected_version}'/)
end
it "should generates a skeleton" do