Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ def new_and_uncovered
def added_on_master
2
end

def f5_covered_method
a = 1 + 1
end
end
4 changes: 4 additions & 0 deletions run_two.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ def covered
def uncovered
0
end

def f5_not_covered
b = 1 + 1
end
end
5 changes: 3 additions & 2 deletions spec/run_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down