Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clean up test.

  • Loading branch information...
commit bb695b9d06acf3fa7de5fccc842c316deb500fe3 1 parent 92aa8f4
@gabebw gabebw authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 spec/kumade/packagers/jammit_packager_spec.rb
View
9 spec/kumade/packagers/jammit_packager_spec.rb
@@ -7,8 +7,9 @@
it_should_behave_like "packager"
- let(:jammit_public_root) { defined?(Jammit.public_root) ? Jammit.public_root : Jammit::PUBLIC_ROOT }
- its(:assets_path) { should == File.join(jammit_public_root, Jammit.package_path) }
+ it "has the correct asset path" do
+ subject.assets_path.should == File.join(jammit_public_root, Jammit.package_path)
+ end
it "knows how to package itself" do
::Jammit.stubs(:package!)
@@ -25,4 +26,8 @@
before { Object.send(:remove_const, :Jammit) }
it { should_not be_installed }
end
+
+ def jammit_public_root
+ defined?(Jammit.public_root) ? Jammit.public_root : Jammit::PUBLIC_ROOT
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.