Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent f8869ec commit a900af758f3b94a4306c5bad9a6ab75005f6f3e8 @Sija committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/garb/model_test.rb
@@ -105,7 +105,7 @@ class ModelTest < MiniTest::Unit::TestCase
segments = stub(:parameters => filter_parameters, :to_params => {'filters' => 'dynamic_segment_params'})
FilterParameters.stubs(:new).returns(filters).then.returns(segments)
- assert_equal ['result'], @test_model.results(@profile, :dynamic_segment => 'dynamic_segment_params')
+ assert_equal @results, @test_model.results(@profile, :dynamic_segment => 'dynamic_segment_params')
assert_data_params(@params.merge({'segment' => 'dynamic::dynamic_segment_params'}))
end

0 comments on commit a900af7

Please sign in to comment.