Permalink
Browse files

Change constant name in spec to avoid naming collisions with other specs

  • Loading branch information...
1 parent 59c2e92 commit 1f7e23d81f3d2e32ea1d4201f684a3bb7e47cfb0 @dkubb dkubb committed May 19, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/module_spec.rb
View
@@ -18,7 +18,7 @@ class Zed
end
end
- class ::Baz
+ class ::Bas
end
class ::Bar
@@ -40,7 +40,7 @@ class ::Bar
it "should find relative constants" do
Foo.find_const('ModBar').should == Foo::ModBar
- Foo.find_const('Baz').should == Baz
+ Foo.find_const('Bas').should == Bas
end
it "should find sibling constants" do

0 comments on commit 1f7e23d

Please sign in to comment.