Class: Zeta::RSpec
- Inherits:
-
Object
- Object
- Zeta::RSpec
- Defined in:
- lib/zeta/rspec.rb
Overview
Include this file in your spec/spec_helper.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/zeta/rspec.rb', line 6 def self.run RSpec.describe "Update Zeta infrastructure once" do it "download infrastructure" do expect{ Zeta.config }.to_not raise_error end it "download specifications" do expect{ Zeta.verbose = false Zeta.update_contracts }.to_not raise_error end it "validate infrastructure" do Zeta.contracts_fulfilled?(Lacerda::Reporters::RSpec.new) end end end |