Sha256: 154512ab25cf611571e7539ac1a7af8c59889f679764875b6b9ee2f99e860a64
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 Bytes
Contents
require 'spec_helper' describe DummyController do describe 'cacheable_flash works' do render_views before(:each) do get :index end it "should assign flash" do expected_flash = { 'errors' => "This is an Error", 'notice' => "This is a Notice" } flash[:errors].should == expected_flash['errors'] flash[:notice].should == expected_flash['notice'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems