Displaying 1 result from an estimated 1 matches for "snippetspag".
Did you mean:
snippetspath
2012 Mar 16
0
Rails tests failing
...sponse.should have_selector(''title'',
:content => "View Snippets")
end
[/code]
but for the same page this other format is red, they shold test for
the same thing?
[code]
require ''spec_helper''
describe "SnippetsPages" do
describe "New Snippet pages" do
before { get ''new''}
it { should have_selector(''h1'', content: ''New'') }
it { should have_selector(''title'', content: full_title(''New
Snipp...