Sha256: fc5db624d6631c987bae6aea2c04ea4421b1a79c77dc17a8a81ae9470791181c
Contents?: true
Size: 634 Bytes
Versions: 10
Compression:
Stored size: 634 Bytes
Contents
require 'spec_helper' describe "languages/show" do before(:each) do @language = assign(:language, stub_model(Language, :name => "Name", :code => "Code", :default => false )) end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Name/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Code/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/false/) end end
Version data entries
10 entries across 10 versions & 1 rubygems