Given(/^I am on the add new class page$/) do
  visit new_class_path
end

Given(/^I enter new class data$/) do
  pending # express the regexp above with the code you wish you had
end

When(/^I press add$/) do
  click_link "Adicionar"
end

Then(/^the new class should be displayed$/) do
  pending # express the regexp above with the code you wish you had
end
