Song #8<\/a>/
end
end
describe 'scope & assigns' do
it "evaluates collection when called all inside of scope" do
get '/music'
last_response.body.should =~ /Song #3/
last_response.body.should =~ /
\s+Song #3/m
end
it "size of evaluated unscoped collection equal to unevaluated one" do
get '/music'
last_response.body.should =~ /class=.collection_equality.>8=8/
end
end
describe 'html helpers' do
it 'bypass url for css resource' do
get '/'
last_response.body.should =~ /