diff --git a/run.rb b/run.rb index e566eb1..0b99fea 100644 --- a/run.rb +++ b/run.rb @@ -39,4 +39,8 @@ def new_and_uncovered def added_on_master 2 end + + def f5_covered_method + a = 1 + 1 + end end diff --git a/run_two.rb b/run_two.rb index b247dc1..5f49bb4 100644 --- a/run_two.rb +++ b/run_two.rb @@ -8,4 +8,8 @@ def covered def uncovered 0 end + + def f5_not_covered + b = 1 + 1 + end end diff --git a/spec/run_spec.rb b/spec/run_spec.rb index 1d47c0d..9024076 100644 --- a/spec/run_spec.rb +++ b/spec/run_spec.rb @@ -2,7 +2,7 @@ describe Run do it "runs" do - # expect(Run.this_is_covered).to eq 1 + expect(Run.this_is_not_covered).to_not be_nil expect(Run.another_method).to eq "yo" end @@ -11,7 +11,8 @@ end it "runs new and covered" do - expect(Run.new_and_covered).to eq :ok + # expect(Run.new_and_covered).to eq :ok + expect(Run.f5_covered_method).to_not be_nil expect(RunTwo.covered).to eq 1 end