Sha256: 87ac37dcf42cfd95fb846b93a6b31821f5d51d7a076ca48b2b828da92faf685c

Contents?: true

Size: 236 Bytes

Versions: 22

Compression:

Stored size: 236 Bytes

Contents

require 'spec_helper'

describe DummyController do
  fixtures :impressions
  render_views

  it "should log impression at the per action level on non-restful controller" do
    get "index"
    Impression.all.size.should eq 12
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
impressionist-2.0.0 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.6.1 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.6.0 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.5.2 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist2-1.5.5 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist2-1.5.4 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist2-1.5.3 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist2-1.5.1 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.5.1 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.13 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.12 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.11 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.10 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.9 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.8 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.7 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.6 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.5 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.4 tests/test_app/spec/controllers/dummy_controller_spec.rb
impressionist-1.4.3 tests/test_app/spec/controllers/dummy_controller_spec.rb