Sha256: 5d5b19a1e62b625636536baf2b758ae58c38e4dd1545efeab78a30b5c845807f
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
describe "A spec in this folder" do it "is a decorator spec" do example.metadata[:type].should be :decorator end end describe "A decorator spec" do it "can access helpers through `helper`" do helper.content_tag(:p, "Help!").should == "<p>Help!</p>" end it "can access helpers through `helpers`" do helpers.content_tag(:p, "Help!").should == "<p>Help!</p>" end it "can access helpers through `h`" do h.content_tag(:p, "Help!").should == "<p>Help!</p>" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
draper-1.0.0 | spec/dummy/spec/decorators/rspec_integration_spec.rb |