Sha256: 1ecff22fca8edf55ea8d5ecb1efe35c19c41cc6176dc89c40fdec128c7de443b

Contents?: true

Size: 289 Bytes

Versions: 16

Compression:

Stored size: 289 Bytes

Contents

require "spec_helper"

describe UsersController do
  let(:user) { create :user }

  render_views

  before do
    require "jquery-rails"

    I18n.locale = :en
  end

  it "#index" do
    user
    get :index
    response.should be_success
    assigns(:users).should include user
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
awesome_translations-0.0.21 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.20 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.19 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.18 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.17 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.16 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.15 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.14 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.13 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.12 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.10 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.9 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.8 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.7 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.6 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.5 spec/controllers/users_controller_spec.rb