Skip to content

Commit

Permalink
Fix a failing spec. [#84]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Jan 9, 2015
1 parent 912a618 commit 9169152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/views/events/index.html.haml_spec.rb
Expand Up @@ -46,7 +46,7 @@ def name_selector(string)
User.current_user.stub!(:calendars).and_return((1..2).map{ FactoryGirl.create :calendar })
render :file => 'events/index'
form = "form[action='#{url_for params}'][method=get]"
rendered.should have_selector("#{form} select #{name_selector "search[calendar_id]"}")
rendered.should have_selector("#{form} select#{name_selector "search[calendar_id]"}")
end

it "should show a sort link in date and event column header" do
Expand Down

0 comments on commit 9169152

Please sign in to comment.