Skip to content

Commit

Permalink
Fixed spec-order bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
ged committed Apr 26, 2012
1 parent 44c8fd7 commit 9fcec01
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rvm.gems
@@ -1,2 +1,2 @@
hoe-deveiate -v0.1.0
hoe-deveiate -v0.1.1
simplecov -v0.5.4
5 changes: 5 additions & 0 deletions spec/configurability/config_spec.rb
Expand Up @@ -47,6 +47,11 @@
setup_logging( :fatal )
end

after( :each ) do
Configurability.configurable_objects.clear
Configurability.reset
end

after( :all ) do
reset_logging()
end
Expand Down
2 changes: 1 addition & 1 deletion spec/configurability/deferredconfig_spec.rb
Expand Up @@ -36,7 +36,7 @@
end

it "calls Configurability.install_config with itself when a 'configure' method is defined" do
config = double( "config object", :testing => :testing_config )
config = { :testing => :testing_config }
Configurability.configure_objects( config )

a_class = Class.new do
Expand Down

0 comments on commit 9fcec01

Please sign in to comment.