spec/unit/env_spec.rb in goliath-0.9.0 vs spec/unit/env_spec.rb in goliath-0.9.1
- old
+ new
@@ -5,15 +5,15 @@
before(:each) do
@env = Goliath::Env.new
end
it 'responds to []=' do
- lambda { @env['test'] = 'blah' }.should_not raise_error(Exception)
+ lambda { @env['test'] = 'blah' }.should_not raise_error
end
it 'responds to []' do
@env['test'] = 'blah'
- lambda { @env['test'].should == 'blah' }.should_not raise_error(Exception)
+ lambda { @env['test'].should == 'blah' }.should_not raise_error
end
context '#method_missing' do
it 'allows access to items as methods' do
@env['db'] = 'test'