Sha256: a972d1b646cf0a2b613a6f1e978f90a0c76b90a1c416af558fdc2e0ab13f576c
Contents?: true
Size: 493 Bytes
Versions: 6
Compression:
Stored size: 493 Bytes
Contents
require 'spec_helper' describe "welcome.html.erb" do context "given no user exists" do before(:each) do view.stub(:just_installed?) { true } view.stub(:from_dialog?) { false } end it "should see /admin reminder" do assign :user, stub_model(User).as_new_record render # view.content_for(:header).should contain("refinery") render.should_not contain("Refinery") render.should_not contain("refinery") end end end
Version data entries
6 entries across 6 versions & 1 rubygems