Sha256: 45a6588f09deec3345f53b94f08a92952c7305cad5b5985fac92bf8ca8649b3d

Contents?: true

Size: 607 Bytes

Versions: 1

Compression:

Stored size: 607 Bytes

Contents

require "spec_helper"
     
describe "AdminFu samples" do
  
  it "should show the form sample page" do
    visit admin_fu_sample_path('form')
    page.should have_selector("form")
    page.should have_content("News Article")
  end
  
  it "should show the text sample page" do
    visit admin_fu_sample_path('text')
    page.should have_content("About")
    page.should have_content("Credits")
  end
  
  it "should show the list sample page" do
    visit admin_fu_sample_path('list')
    page.should have_selector("input[value='Search']")
    find('table').should have_content('Actions')    
  end 
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin_fu-0.1.0 spec/requests/samples_spec.rb