Sha256: ddb1d5adeed196f23a4028056cf1def59a7df1fc6b02aa5c4284ef13e05a1986
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
require "spec_helper" RSpec.describe "Clockwork" do before :all do drop_dummy_database remove_project_directory create_dummy_project("clockwork" => true) end it "adds the Clockwork gem to Gemfile" do gemfile_content = IO.read("#{project_path}/Gemfile") expect(gemfile_content).to include("gem 'clockwork'") end it "creates the config for clockwork scheduler" do initializer_content = IO.read("#{project_path}/config/clock.rb") expect(initializer_content).to include("module Clockwork") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
potassium-3.0.0 | spec/features/clockwork_spec.rb |
potassium-2.3.0 | spec/features/clockwork_spec.rb |