spec/features/index_spec.rb in rapidoc-0.0.4 vs spec/features/index_spec.rb in rapidoc-0.0.5
- old
+ new
@@ -55,10 +55,12 @@
end
end
it "contains the correct description" do
@resources.each do |resource|
- page.should have_text(resource.description)
+ resource.description.each do |paragraph|
+ page.should have_text( paragraph )
+ end
end
end
end
end