Skip to content
Browse files

Repaired tests for build

  • Loading branch information...
1 parent fdb84e5 commit 6ccf27bdc9ae214b88d7ca5d06fc3b16f7ae2183 @jasonpgignac committed Jun 24, 2011
Showing with 19 additions and 18 deletions.
  1. +13 −12 Gemfile.lock
  2. +6 −6 spec/cli/build_spec.rb
View
25 Gemfile.lock
@@ -1,3 +1,15 @@
+GIT
+ remote: git://github.com/sproutcore/spade-ruby
+ revision: 73ba88cf692505a4bbbdae51d4a994319a70c27e
+ specs:
+ spade (0.1.0.1)
+ childlabor (~> 0.0.3)
+ eventmachine (~> 0.12.10)
+ json_pure (~> 1.4.6)
+ rack (~> 1.2.1)
+ therubyracer (~> 0.9.0)
+ thor (~> 0.14.3)
+
PATH
remote: .
specs:
@@ -9,17 +21,6 @@ PATH
spade
thor (~> 0.14.3)
-PATH
- remote: ~/Programming/Spade/spade-ruby
- specs:
- spade (0.1.0.1)
- childlabor (~> 0.0.3)
- eventmachine (~> 0.12.10)
- json_pure (~> 1.4.6)
- rack (~> 1.2.1)
- therubyracer (~> 0.9.0)
- thor (~> 0.14.3)
-
GEM
remote: http://rubygems.org/
specs:
@@ -40,7 +41,7 @@ GEM
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
- therubyracer (0.9.1)
+ therubyracer (0.9.2)
libv8 (~> 3.3.10)
thor (0.14.6)
View
12 spec/cli/build_spec.rb
@@ -32,29 +32,29 @@
it "builds a bpm from a given package.json" do
FileUtils.cp_r fixtures("core-test"), "."
- FileUtils.cp fixtures("package.json"), "core-test"
+ #FileUtils.cp fixtures("package.json"), "core-test"
cd "core-test"
bpm "build"
exit_status.should be_success
output = stdout.read
- package = LibGems::Format.from_file_by_path("core-test-0.4.3.spd")
+ package = LibGems::Format.from_file_by_path("core-test-0.4.9.spd")
package.spec.name.should == "core-test"
- package.spec.version.should == LibGems::Version.new("0.4.3")
+ package.spec.version.should == LibGems::Version.new("0.4.9")
end
it "sets the email address if one is given" do
FileUtils.cp_r fixtures("core-test"), "."
- FileUtils.cp fixtures("package.json"), "core-test"
+ #FileUtils.cp fixtures("package.json"), "core-test"
cd "core-test"
bpm "build", "-e", "lucy@allen.com"
exit_status.should be_success
output = stdout.read
- package = LibGems::Format.from_file_by_path("core-test-0.4.3.spd")
+ package = LibGems::Format.from_file_by_path("core-test-0.4.9.spd")
package.spec.name.should == "core-test"
- package.spec.version.should == LibGems::Version.new("0.4.3")
+ package.spec.version.should == LibGems::Version.new("0.4.9")
package.spec.email.should == "lucy@allen.com"
end
end

0 comments on commit 6ccf27b

Please sign in to comment.
Something went wrong with that request. Please try again.