spec/praegustator/dsl_spec.rb in praegustator-0.1.0 vs spec/praegustator/dsl_spec.rb in praegustator-0.2.0

- old
+ new

@@ -33,9 +33,9 @@ suits = dsl.parse_file File.dirname(__FILE__)+"/resources/sample/suits/staging.rb" suits.count.should == 3 first_suite = suits.first checks = first_suite.instance_variable_get(:@checks) checks["nginx"].should_not nil - checks["puma"][:opts][:target].should == "10.210.10.1" + first_suite.params[:target].should == "10.210.10.1" end end end