Skip to content

Commit

Permalink
fixed spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Apr 18, 2015
1 parent 3384a9c commit e99585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/manifestations_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def valid_attributes
end

it "assigns all manifestations as @manifestations when acquired_from and pub_date_until are specified" do
get :index, :acquired_from => '2000', :acquired_to => '2007'
get :index, :acquired_from => '2000', :acquired_until => '2007'
assigns(:query).should eq "acquired_at_d:[#{Time.zone.parse('2000-01-01').beginning_of_day.utc.iso8601} TO #{Time.zone.parse('2007-12-31').end_of_year.utc.iso8601}]"
expect(assigns(:manifestations)).to_not be_nil
end
Expand Down

0 comments on commit e99585a

Please sign in to comment.