Sha256: e2035513c91e5360cdc00114168abe1c1bb1e0631b5d7746c31df2458be3a79b
Contents?: true
Size: 815 Bytes
Versions: 18
Compression:
Stored size: 815 Bytes
Contents
require 'spec_helper' describe "use_restrictions/show" do before(:each) do @use_restriction = assign(:use_restriction, stub_model(UseRestriction, :name => "Name", :display_name => "MyText", :note => "MyText", :position => 1 )) 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(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/MyText/) # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/1/) end end
Version data entries
18 entries across 18 versions & 1 rubygems