Sha256: 74c28d764a4f3e62e80ee7563d7bb33e55fd1adab8115f137bb97826883e3c96
Contents?: true
Size: 572 Bytes
Versions: 15
Compression:
Stored size: 572 Bytes
Contents
run 'rm spec/controllers/admin/users_controller_spec.rb' create_file 'spec/controllers/admin/users_controller_spec.rb' do <<-'FILE' require 'spec_helper' include Devise::TestHelpers describe Admin::UsersController do before(:each) do @user = @user ||=Factory.create(:admin) sign_in @user end describe "GET 'index'" do it "should be successful" do get 'index' response.should be_success end end describe "GET 'new'" do it "should be successful" do get 'new' response.should be_success end end end FILE end
Version data entries
15 entries across 15 versions & 3 rubygems