spec/classes/query_parser_spec.rb
Do not use should when describing your tests. Open
Open
it 'should extract an array of :excluded_sites as SiteFilters' do
- Exclude checks
Do not use should when describing your tests. Open
Open
it 'should make the resulting query available' do
- Exclude checks
Missing space after #
. Open
Open
it 'does not alter the original query' do #because here there be bugs
- Read upRead up
- Exclude checks
Checks whether comments have a leading space after the
#
denoting the start of the comment. The leading space is not
required for some RDoc special syntax, like #++
, #--
,
#:nodoc
, =begin
- and =end
comments, "shebang" directives,
or rackup options.
Example:
# bad
#Some comment
# good
# Some comment
Example: AllowDoxygenCommentStyle: false (default)
# bad
#**
# Some comment
# Another line of comment
#*
Example: AllowDoxygenCommentStyle: true
# good
#**
# Some comment
# Another line of comment
#*
Example: AllowGemfileRubyComment: false (default)
# bad
#ruby=2.7.0
#ruby-gemset=myproject
Example: AllowGemfileRubyComment: true
# good
#ruby=2.7.0
#ruby-gemset=myproject
Context description should match /^when\b/, /^with\b/, or /^without\b/. Open
Open
context 'one or more site: params in query string' do
- Exclude checks
Context description should match /^when\b/, /^with\b/, or /^without\b/. Open
Open
context 'one or more -site: params in query string' do
- Exclude checks
Do not use should when describing your tests. Open
Open
it 'should make the resulting query available' do
- Exclude checks
Do not use should when describing your tests. Open
Open
it 'should extract an array of SiteFilter instances' do
- Exclude checks