Sha256: dc03444cc14ad6c6e425e881a4fe0040ba960d2b796db613eb962b1ef55e1c93

Contents?: true

Size: 379 Bytes

Versions: 6

Compression:

Stored size: 379 Bytes

Contents

describe Codebuild::Schedule do
  let(:schedule) do
    Codebuild::Schedule.new(schedule_path: "spec/fixtures/app/.codebuild/schedule.rb")
  end
  context "general" do
    it "builds up the template in memory" do
      template = schedule.run
      expect(template.keys).to eq ["EventsRule", "EventsRuleRole"]
      expect(template["EventsRule"]).to be_a(Hash)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
codebuild-0.6.3 spec/lib/schedule_spec.rb
codebuild-0.6.2 spec/lib/schedule_spec.rb
codebuild-0.6.1 spec/lib/schedule_spec.rb
codebuild-0.6.0 spec/lib/schedule_spec.rb
codebuild-0.5.0 spec/lib/schedule_spec.rb
codebuild-0.4.0 spec/lib/schedule_spec.rb