You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
380 B
16 lines
380 B
require_relative 'docs_helper' |
|
|
|
describe Squib::DSL do |
|
context 'methods' do |
|
|
|
Squib::DSL.constants.each do |m| |
|
it "accepted params for #{m} are in the docs" do |
|
accepted_params = Squib::DSL.const_get(m).accepted_params.sort |
|
documented_opts = documented_options(m).sort |
|
expect(accepted_params).to eq(documented_opts) |
|
end |
|
end |
|
|
|
|
|
end |
|
end
|
|
|