Sha256: d2cd2e6f29e2a5af6d83782e03199b76708a9360e0e496e767c2a7a6b8ce8776
Contents?: true
Size: 588 Bytes
Versions: 9
Compression:
Stored size: 588 Bytes
Contents
require "spec_helper" describe ApplicationController, "helper methods" do before(:each) do controller = double("ApplicationController") end it "should return the customized title" do controller.page_title = "My awesome page title" expect(controller.page_title).to eql("My awesome page title") end it "should return the customized subtitle" do controller.page_subtitle = "My awesome page subtitle" expect(controller.page_subtitle).to eql("My awesome page subtitle") end it "should fail" do test = "test" expect(test).to eql("fail") end end
Version data entries
9 entries across 9 versions & 1 rubygems