diff --git a/11-matchers-included-in-rspec-expectations/solutions/public_company_spec.rb b/11-matchers-included-in-rspec-expectations/solutions/public_company_spec.rb index 15ae6c2..b2b7f3b 100644 --- a/11-matchers-included-in-rspec-expectations/solutions/public_company_spec.rb +++ b/11-matchers-included-in-rspec-expectations/solutions/public_company_spec.rb @@ -4,7 +4,7 @@ def got_better_than_expected_revenues end def market_cap - @market_cap ||= value_per_share * share_count + @market_cap = value_per_share * share_count end end diff --git a/11-matchers-included-in-rspec-expectations/solutions/tokenizer_spec.rb b/11-matchers-included-in-rspec-expectations/solutions/tokenizer_spec.rb index b253e02..5b9c04f 100644 --- a/11-matchers-included-in-rspec-expectations/solutions/tokenizer_spec.rb +++ b/11-matchers-included-in-rspec-expectations/solutions/tokenizer_spec.rb @@ -6,7 +6,7 @@ def self.tokenize(string) RSpec.describe Tokenizer do let(:text) do - <<-EOS + <<~EOS I am Sam. Sam I am. Do you like green eggs and ham?