mas-rad_core 0.0.110 → 0.0.111

Sign up to get free protection for your applications and to get access to all the features.
@@ -334,18 +334,18 @@ RSpec.describe Office do
334
334
  describe '#full_street_address' do
335
335
  subject { office.full_street_address }
336
336
 
337
- it { is_expected.to eql "#{office.address_line_one}, #{office.address_line_two}, #{office.address_postcode}, United Kingdom"}
337
+ it { is_expected.to eql "#{office.address_postcode}, United Kingdom"}
338
338
 
339
339
  context 'when line two is nil' do
340
340
  before { office.address_line_two = nil }
341
341
 
342
- it { is_expected.to eql "#{office.address_line_one}, #{office.address_postcode}, United Kingdom"}
342
+ it { is_expected.to eql "#{office.address_postcode}, United Kingdom"}
343
343
  end
344
344
 
345
345
  context 'when line two is an empty string' do
346
346
  before { office.address_line_two = '' }
347
347
 
348
- it { is_expected.to eql "#{office.address_line_one}, #{office.address_postcode}, United Kingdom"}
348
+ it { is_expected.to eql "#{office.address_postcode}, United Kingdom"}
349
349
  end
350
350
  end
351
351
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mas-rad_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.110
4
+ version: 0.0.111
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -334,6 +334,7 @@ files:
334
334
  - db/migrate/20160328130032_add_workplace_financial_advice_to_snapshots.rb
335
335
  - db/migrate/20160329105636_add_non_uk_residents_to_firms.rb
336
336
  - db/migrate/20160329110348_add_add_non_uk_residents_to_snapshots.rb
337
+ - db/migrate/20161216141323_add_website_to_office.rb
337
338
  - lib/mas/adviser_result.rb
338
339
  - lib/mas/elastic_search_client.rb
339
340
  - lib/mas/firm_indexer.rb
@@ -479,7 +480,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
479
480
  version: '0'
480
481
  requirements: []
481
482
  rubyforge_project:
482
- rubygems_version: 2.4.5
483
+ rubygems_version: 2.4.8
483
484
  signing_key:
484
485
  specification_version: 4
485
486
  summary: MAS RAD Core.