Sha256: 1a241acac207dd5fd10999fb7972545b5166ac04baeffbc9ff448d9f19a951ab

Contents?: true

Size: 1.27 KB

Versions: 10

Compression:

Stored size: 1.27 KB

Contents

Feature: task_run controller index and show pages 

	Scenario: should show task runs on the index page
	  Given a task_run exists
	  When I go to the task_run index page
	  Then I should see the data for that task_run
	
	Scenario: no task runs
	  Given a task_run does not exist
	  When I go to the task_run index page
	  Then I should see "There are no records"
	
	Scenario: no end time
	  Given a task_run exists
	  And end_time does not exist
	  When I go to the task_run index page
	  Then I should see "Run time not completed" in the run_time column
	
	Scenario: success is true
	  Given a task_run exists with the following values
	    | key | value |
	    | start_time | 2011-11-03 16:31:19 -0400 |
	    | task_type | Task type 3 |
	    | success | true |	  
	  When I go to the task_run index page
	  Then status_color should be green
	
	Scenario: should show task run on the show page
	  Given a task_run exists with the following values
	    | key | value |
	    | start_time | 2011-11-03 16:31:19 -0400 |
	    | end_time | 2011-11-03 17:53:40 -0400  |
	    | task_type | Task type 4 |
	    | success | true |
	    | error_text | This is some error text |
	    | log_text | This is some log text |
	  When I go to the task_run show page
	  Then I should see the show data for that task_run

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
trackable_tasks-0.0.13 spec/dummy/features/task_run.feature
trackable_tasks-0.0.12 spec/dummy/features/task_run.feature
trackable_tasks-0.0.11 spec/dummy/features/task_run.feature
trackable_tasks-0.0.10 spec/dummy/features/task_run.feature
trackable_tasks-0.0.9 spec/dummy/features/task_run.feature
trackable_tasks-0.0.8 spec/dummy/features/task_run.feature
trackable_tasks-0.0.7 spec/dummy/features/task_run.feature
trackable_tasks-0.0.6 spec/dummy/features/task_run.feature
trackable_tasks-0.0.5 spec/dummy/features/task_run.feature
trackable_tasks-0.0.4 spec/dummy/features/task_run.feature