spec/integration/server/liquid_spec.rb in locomotivecms_wagon-1.3.2 vs spec/integration/server/liquid_spec.rb in locomotivecms_wagon-1.3.3
- old
+ new
@@ -69,18 +69,19 @@
describe 'scope & assigns' do
it "evaluates collection when called all inside of scope" do
get '/music'
last_response.body.should =~ /<p class=.scoped_song.>Song #3/
+ last_response.body.should =~ /<p class=.scoped_song_link.>\s+<a href=.\/songs\/song-3.>Song #3/m
end
- it "size of evaluated unscoped collection eqaul to unevaluated one" do
+ 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 =~ /<link href=("|')http:\/\/fonts\.googleapis\.com\/css\?family=Open\+Sans:400,700("|')/
end
\ No newline at end of file