features/step_definitions/format_steps.rb in activeadmin-1.0.0.pre5 vs features/step_definitions/format_steps.rb in activeadmin-1.0.0
- old
+ new
@@ -48,5 +48,9 @@
end
Then /^the encoding of the CSV file should be "([^"]*)"$/ do |text|
expect(page.driver.response.body.encoding).to be Encoding.find(Encoding.aliases[text] || text)
end
+
+Then /^access denied$/ do
+ expect(page).to have_content(I18n.t("active_admin.access_denied.message"))
+end
\ No newline at end of file