Sha256: 35e930f54623ba7430d76efac3199d6a3b43cd424296cb5281a6746cead83256

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

require 'spec_helper'
describe :afterparty do
  it "works" do
    subject.should generate(:copy_file, "jobs_migration.rb")
    subject.should generate("config/initializers/afterparty.rb") do |content|
      content.should include("Afterparty::Queue.new")
      content.should include("queue.config_login do |username, password|")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
afterparty-0.1.1 spec/generators/afterparty_generator_spec.rb
afterparty-0.1.0 spec/generators/afterparty_generator_spec.rb