spec/app_spec.rb in schnitzelpress-0.0.6 vs spec/app_spec.rb in schnitzelpress-0.0.7
- old
+ new
@@ -26,9 +26,15 @@
its(:body) { should have_tag 'title', text: "A Test Blog" }
its(:body) { should have_tag 'section.posts > article.post.published', count: 5 }
its(:body) { should_not have_tag 'section.posts > article.post.draft' }
end
+ describe 'the /blog page' do
+ before { get '/blog' }
+ subject { last_response }
+ it { should be_ok }
+ end
+
describe 'the public feed url' do
before do
TestApp.set :feed_url, 'http://feeds.feedburner.com/example_org'
get '/feed'
end