Skip to content

Commit 5e0408f

Browse files
committed
First Test for Step Spec
1 parent a28f81f commit 5e0408f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
require 'rails_helper'
22

33
RSpec.describe Step, type: :model do
4-
pending "add some examples to (or delete) #{__FILE__}"
4+
context "with only static text" do
5+
it "has no questions" do
6+
step = create(:step_with_static_text)
7+
expect(step.has_questions?).to be false
8+
end
9+
end
510
end

0 commit comments

Comments
 (0)