Sha256: ded455cac3a83c335a74aed8e0bb3a59173ac2f042f7949115a47162ee9f1e26
Contents?: true
Size: 416 Bytes
Versions: 4
Compression:
Stored size: 416 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}" puts "page: #{page.html}" within 'a' do page.should have_content 'RHG' end page.should have_css('img') end end
Version data entries
4 entries across 4 versions & 1 rubygems