Skip to content

Commit

Permalink
fix: add skips for knife
Browse files Browse the repository at this point in the history
  • Loading branch information
ovsyanik committed Nov 24, 2017
1 parent 628ab39 commit 3c0a154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/apress/selenium_eti/spec/company_site/minieti_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
expect(@cs_eti_page.product_name?(@name)).to be true
end

context 'когда добавляем картинку' do
context 'когда добавляем картинку', skip: !RUN_CONFIG.fetch('local_running', false).to_b do
before(:all) do
@thermometer_value = @cs_eti_page.thermometer_value
@cs_eti_page.set_image(IMAGE_PATH)
Expand Down Expand Up @@ -96,7 +96,7 @@
before { @cs_eti_page.set_exists(CONFIG['eti']['exists']['in stock']) }

it 'введенная цена отображается' do
expect(@cs_eti_page.exists_value).to include 'в наличии'
expect(@cs_eti_page.exists_value).to include 'В наличии'
end
end

Expand Down

0 comments on commit 3c0a154

Please sign in to comment.