Skip to content

Instantly share code, notes, and snippets.

@idengager
Created May 13, 2014 19:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save idengager/570225d4385c39ff2ddf to your computer and use it in GitHub Desktop.
Save idengager/570225d4385c39ff2ddf to your computer and use it in GitHub Desktop.
describe "labels" do
it "should have field for comeptition name" do
expect(page).to have_field(
I18n.t('activerecord.attributes.competition.name'))
end
it "should have field for classification" do
expect(page).to have_field(
I18n.t('activerecord.attributes.competition.classification'))
end
it "should have field for classification" do
expect(page).to have_field(
I18n.t('activerecord.attributes.competition.number_of_shots'))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment