diff --git a/spec/models/configuration_spec.rb b/spec/models/configuration_spec.rb --- a/spec/models/configuration_spec.rb +++ b/spec/models/configuration_spec.rb @@ -3,6 +3,11 @@ describe Configuration do + # only work with cached configuration + class Configuration + @@cache = true + end + before(:each) do @int_config = mock(Configuration, :id => 1,