spec/unit/rack/validation/required_value_spec.rb in goliath-1.0.3 vs spec/unit/rack/validation/required_value_spec.rb in goliath-1.0.4

- old
+ new

@@ -17,10 +17,10 @@ rv.values.should == ['foo'] end describe 'with middleware' do before(:each) do - @app = mock('app').as_null_object + @app = double('app').as_null_object @env = {'params' => {}} @rv = Goliath::Rack::Validation::RequiredValue.new(@app, {:values => ['Monkey', 'frog'], :key => 'mk'}) end it 'stores type and key options' do