mas-rad_core 0.0.64 → 0.0.65

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,16 @@ RSpec.describe Firm do
3
3
 
4
4
  before { allow(GeocodeFirmJob).to receive(:perform_later) }
5
5
 
6
+ describe 'default behaviour' do
7
+ it 'sets ethical_investing_flag to false' do
8
+ expect(Firm.new.ethical_investing_flag).to be_falsey
9
+ end
10
+
11
+ it 'sets sharia_investing_flag to false' do
12
+ expect(Firm.new.sharia_investing_flag).to be_falsey
13
+ end
14
+ end
15
+
6
16
  describe '#telephone_number' do
7
17
  context 'when `nil`' do
8
18
  it 'returns `nil`' do
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.64
4
+ version: 0.0.65
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-07-23 00:00:00.000000000 Z
11
+ date: 2015-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -284,6 +284,7 @@ files:
284
284
  - db/migrate/20150630143001_change_percentage_fields_to_boolean_fields_on_firm.rb
285
285
  - db/migrate/20150706102943_move_website_from_principals_to_firms.rb
286
286
  - db/migrate/20150716123032_remove_other_flag_from_firms.rb
287
+ - db/migrate/20150806143047_add_investing_checkboxes_to_firms.rb
287
288
  - lib/mas/elastic_search_client.rb
288
289
  - lib/mas/firm_repository.rb
289
290
  - lib/mas/firm_result.rb