Skip to content

Commit

Permalink
Add a spec for the default value of the --root option.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 6, 2024
1 parent 722533a commit 3d4257d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/cli/commands/http_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
it "must default options[:port] to 8080" do
expect(subject.options[:port]).to eq(8080)
end

it "must default options[:root] to '/'" do
expect(subject.options[:root]).to eq('/')
end
end
end
end

0 comments on commit 3d4257d

Please sign in to comment.