mas-rad_core 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ RSpec.describe FirmResult do
10
10
  'registered_name' => 'Financial Advice 1 Ltd.',
11
11
  'postcode_searchable' => true,
12
12
  'address_line_one' => '64 Somewhere',
13
+ 'address_line_two' => 'At this place',
13
14
  'address_town' => 'Romford',
14
15
  'address_county' => 'Essex',
15
16
  'address_postcode' => 'RM1 1AL',
@@ -57,6 +58,10 @@ RSpec.describe FirmResult do
57
58
  expect(subject.address_line_one).to eq('64 Somewhere')
58
59
  end
59
60
 
61
+ it 'maps the `address_line_two`' do
62
+ expect(subject.address_line_two).to eq('At this place')
63
+ end
64
+
60
65
  it 'maps the `address_town`' do
61
66
  expect(subject.address_town).to eq('Romford')
62
67
  end
@@ -22,6 +22,10 @@ RSpec.describe FirmSerializer do
22
22
  expect(subject[:address_line_one]).to eql(firm.address_line_one)
23
23
  end
24
24
 
25
+ it 'exposes `address_line_two`' do
26
+ expect(subject[:address_line_two]).to eql(firm.address_line_two)
27
+ end
28
+
25
29
  it 'exposes `address_town`' do
26
30
  expect(subject[:address_town]).to eql(firm.address_town)
27
31
  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.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lovell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-30 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails