This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| context "при температуре равной или выше 100 С" do | |
| before do | |
| kettle.water.stub(:temperature).and_return(100) | |
| end | |
| # ... | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| context "при температуре выше 100 С" do | |
| #... | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe "Чайник" do | |
| describe "Крышка" do | |
| # ... | |
| end | |
| describe "Вода" do | |
| # ... | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe "Чайник" do | |
| describe "Крышка" do | |
| # ... | |
| end | |
| describe Вода do | |
| # ... | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action="https://authorize.payments-sandbox.amazon.com/pba/paypipeline" method="POST"> | |
| <input type="image" src="https://authorize.payments-sandbox.amazon.com/pba/images/payNowButton.png" border="0"> | |
| <input type="hidden" name="accessKey" value="AKIAIWDZU3QUHNQF2TAQ" > | |
| <input type="hidden" name="amount" value="USD 1.1" > | |
| <input type="hidden" name="description" value="Test Widget" > | |
| <input type="hidden" name="signatureMethod" value="HmacSHA256" > | |
| <input type="hidden" name="referenceId" value="test-reference123" > | |
| <input type="hidden" name="immediateReturn" value="0" > | |
| <input type="hidden" name="returnUrl" value="http://yourwebsite.com/return.html" > | |
| <input type="hidden" name="abandonUrl" value="http://yourwebsite.com/cancel.html" > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action="/payment" method="POST"> | |
| <!-- identification --> | |
| <input name="order[user_id]" type="text" value="6" /> | |
| <!-- order --> | |
| <input name="order[number]" type="input" value="777" /> | |
| <input name="order[email]" type="input" value="[email protected]" /> | |
| <input name="order[total_amount]" type="input" value="2500" /> | |
| <input name="order[currency]" type="input" value="USD" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: | |
| As an administrator | |
| In order to ... | |
| I can ... | |
| Scenario: enable user | |
| Given a 5 users exist | |
| When I follow "Users" | |
| Then I should see "Something" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Then a user should exist with activated: true, email: “[email protected]” |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # создаем одного пользователя (user - название фабрики) | |
| Given a user exists | |
| # создаем 20 пользователeй | |
| Given 20 users exists | |
| # создаем пользователя с id равным "2" | |
| Given a user exists with an id of "2" | |
| # создаем 20 пользователей со статусом "active" |
NewerOlder