features/strong_parameters.feature in activeadmin-1.0.0.pre2 vs features/strong_parameters.feature in activeadmin-1.0.0.pre3

- old
+ new

@@ -30,11 +30,11 @@ And I check "Starred" When I press "Update Post" Then I should see "Post was successfully updated." And I should see the attribute "Title" with "Hello World from update" And I should see the attribute "Author" with "John Doe" - And I should see the attribute "Starred" with "true" + And I should see the attribute "Starred" with "Yes" Scenario: Dynamic permitted parameters Given a configuration of: """ ActiveAdmin.register Post do @@ -51,11 +51,11 @@ And I check "Starred" When I press "Update Post" Then I should see "Post was successfully updated." And I should see the attribute "Title" with "Hello World from update" And I should see the attribute "Author" with "John Doe" - And I should see the attribute "Starred" with "true" + And I should see the attribute "Starred" with "Yes" Scenario: Should not update parameters that are not declared as permitted Given a configuration of: """ ActiveAdmin.register Post do @@ -68,6 +68,6 @@ And I check "Starred" When I press "Update Post" Then I should see "Post was successfully updated." And I should see the attribute "Title" with "Hello World from update" And I should see the attribute "Author" with "John Doe" - And the attribute "Starred" should be empty + And I should see the attribute "Starred" with "No"