spec/support/create.rb in evrone-ci-router-0.2.0.pre22 vs spec/support/create.rb in evrone-ci-router-0.2.0.pre23

- old
+ new

@@ -7,16 +7,16 @@ case who when :local_repo Evrone::CI::Router.root.join("fixtures/repo").to_s - when :travis - klass = Evrone::CI::Router::Travis - travis = nil + when :configuration + klass = Evrone::CI::BuildConfiguration + configuration = nil if options[:yaml] - travis = klass.from_yaml options[:yaml] + configuration = klass.from_yaml options[:yaml] elsif options[:attributes] - travis = klass.from_attributes options[:attributes] + configuration = klass.from_attributes options[:attributes] else klass.from_yaml fixture("travis.yml") end when :message