Sha256: 582f3cb3f12077364c80dd5004df580745550dc4a82341af7afa47f57e12037b

Contents?: true

Size: 261 Bytes

Versions: 3

Compression:

Stored size: 261 Bytes

Contents

require "spec_helper"

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

  render_views

  before do
    I18n.locale = :en
  end

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
awesome_translations-0.0.4 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.3 spec/controllers/users_controller_spec.rb
awesome_translations-0.0.2 spec/controllers/users_controller_spec.rb