search for: mailers_path

Displaying 1 result from an estimated 1 matches for "mailers_path".

Did you mean: mailerpath
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
...rect_to root_path else render ''new'' end endend Integration test: require ''spec_helper'' describe "Mailer pages" do subject { page } describe "mail us" do let(:submit) { "Send my Mail"} before { visit mailers_path } describe "with invalid information" do it "should not send a mail" do expect { click_button submit }.not_to change(Mailer, :count) end end describe "with valid information" do before do fill_in "Company...