Sha256: 3d569e62f79d0087339bef30e49e82946f563af1b293e26fc0f67a800874bcd8
Contents?: true
Size: 514 Bytes
Versions: 4
Compression:
Stored size: 514 Bytes
Contents
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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
prologue-0.2.0 | templates/admin/users_spec.rb |
prologue-0.1.2 | templates/admin/users_spec.rb |
prologue-0.1.1 | templates/admin/users_spec.rb |
prologue-0.1.0 | templates/admin/users_spec.rb |