End of day commit

This commit is contained in:
2014-06-25 17:59:56 +02:00
parent 10bc926e87
commit 8730d30621
6 changed files with 18 additions and 12 deletions
@@ -3,12 +3,6 @@ step 'there is a table' do
@table ||= create :table, section: @section, supplier: @supplier
end
step "the other user should see a join table waiting message" do
#waiting_text = I18n.t('') #TODO: make better user client translation system, similar to supplier
waiting_text = page.evaluate_script(%|t('join_request.requestor.waiting_for_confirmation')|)
page.should have_content waiting_text
end
step "the other user sees the table menu" do
Capybara.session_name = :other_user
route_should_be 'user#list_products_for_table'