Sha256: 16ce28ac778b142402d5491538499de8065818beff1971afc03da1eb0d279984
Contents?: true
Size: 386 Bytes
Versions: 10
Compression:
Stored size: 386 Bytes
Contents
require 'spec_helper' feature 'fallback to helpers' do background do aamine = Author.create! :name => 'aamine' @rhg = aamine.books.create! :title => 'RHG' end scenario 'invoking action_view helper methods' do visit "/authors/#{@rhg.author.id}/books/#{@rhg.id}" within 'a' do page.should have_content 'RHG' end page.should have_css('img') end end
Version data entries
10 entries across 9 versions & 2 rubygems