test/integration_tests.rb in crowdflower-0.5.8 vs test/integration_tests.rb in crowdflower-0.6.0

- old
+ new

@@ -123,16 +123,16 @@ wait_until { job2.get["units_count"] == 8 } say "Checking the status of the job." assert job.status["tainted_judgments"] == 0 -say "Registering a webhook." -job.update :webhook_uri => "http://localhost:8080/crowdflower" - say "Adding title, instructions, and problem to the job." job.update({:title => 'testtt', :instructions => 'testttt fdsf sfds fsdfs fesfsdf', :cml => '<cml:text label="Text" class="unmodified" validates="required"/>'}) + +say "Registering a webhook." +job.update :webhook_uri => "http://localhost:8080/crowdflower" say "Checking channels" assert !job.channels['available_channels'].empty? assert job.channels['enabled_channels'].empty? job.enable_channels ['amt']