<% if level.downcase == 'jr' -%> require_relative 'spec_helper' require_relative '../lib/pages/loblaws_home' require_relative '../lib/models/model_loblaws_search' describe 'Loblaws Home Page' do let(:browser) { WatirDrops::PageObject.browser} it 'fills in search field' do search_data = ModelLoblawsSearch.new page = LoblawsHome.visit page.populate_search_field(search_data) expect(page.search_term.value).to include search_data.search_term end end <% end %>