Sha256: cad7eef4c783e5bb55a79ea2bc5c22deaa768653188e4f94b09014d130486cfb
Contents?: true
Size: 901 Bytes
Versions: 4
Compression:
Stored size: 901 Bytes
Contents
require 'rails_helper' describe TestDefinition do let(:test_definition) do TestDefinition.new end it '#in_optional_args' do expect(test_definition.in_optional_args(:audioslave)).to eq(:audioslave) end it '#use_optional' do expect(test_definition.use_optional(:audioslave)).to eq(:audioslave) end it '#var_in_optional_args' do expect(test_definition.var_in_optional_args('Missing "fallback"')).to eq('Missing "fallback"') end it '#method_in_optional_args' do expect(test_definition.method_in_optional_args('Missing "fall_meth"')).to eq('Missing "fall_meth"') end it '#call_method_result_in_optional_args' do expect(test_definition.call_method_result_in_optional_args('Missing "fall_meth.first"')).to eq('Missing "fall_meth.first"') end it '#recursive_method' do expect(test_definition.recursive_method).to eq('Exception in RSpec') end end
Version data entries
4 entries across 4 versions & 1 rubygems