This file contains 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
require 'rails_helper' | |
RSpec.describe 'Factories', :vcr do | |
FactoryBot.factories.each do |factory| | |
describe "The :#{factory.name} factory" do | |
describe 'base factory' do | |
it 'is valid' do | |
expect(build(factory.name.to_sym)).to be_valid | |
end | |
end |
This file contains 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
within_frame 'plaid-link-iframe-1' do | |
find('[data-institution="pnc"]').click | |
fill_in 'username', with: 'plaid_test' | |
fill_in 'password', with: 'plaid_good' | |
click_on 'Submit' | |
page.has_content?('Security Question', wait: 15) | |
fill_in 'Answer', with: 'tomato', wait: 15 |
This file contains 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
#!/bin/bash | |
# Thanks goes to @pete-otaqui for the initial gist: | |
# https://gist.github.com/pete-otaqui/4188238 | |
# | |
# Original version modified by Marek Suscak | |
# | |
# works with a file called VERSION in the current directory, | |
# the contents of which should be a semantic version number | |
# such as "1.2.3" or even "1.2.3-beta+001.ab" |