Sha256: 7a085ece683ef7541f79d9134a7aa06fcd9870fc428db9b653bdcfb34428fa36
Contents?: true
Size: 354 Bytes
Versions: 3
Compression:
Stored size: 354 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems