Sha256: 3d7bd94f0ee9282f3f061875a679e3e4fd78a92b262e5812626879f66b23f7e5

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

require 'spec_helper'

describe UsersController do
  describe "create" do
    it "will create a user_created_success event" do
      expect {
        post :create
      }.to change {EventLogger::EventLog.where(:event => 'user_created_success').count}.by(1)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
event_logger-0.1.0 spec/dummy/spec/controllers/users_controller_spec.rb