Sha256: 249d67a28f5d4801318c8d72727ec2004841b5ebe3ce5df37dab3fac1f665a85
Contents?: true
Size: 953 Bytes
Versions: 2
Compression:
Stored size: 953 Bytes
Contents
module Omnitest describe Configuration do subject(:configuration) { Configuration.new } describe '.project_set' do it 'parses the YAML file and registers the project set' do original_project_set = configuration.project_set configuration.project_set = 'spec/fixtures/omnitest.yaml' new_project_set = configuration.project_set expect(original_project_set).to_not eq(new_project_set) expect(new_project_set).to(be_an_instance_of(ProjectSet)) end end describe '.manifest' do it 'parses the YAML file and registers the manifest' do original_manifest = configuration.skeptic.manifest configuration.skeptic.manifest_file = 'spec/fixtures/skeptic.yaml' new_manifest = configuration.skeptic.manifest expect(original_manifest).to_not eq(new_manifest) expect(new_manifest).to(be_an_instance_of(Skeptic::TestManifest)) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
omnitest-0.2.2 | spec/omnitest/configuration_spec.rb |
omnitest-0.2.1 | spec/omnitest/configuration_spec.rb |