Skip to content

Commit

Permalink
Change ExampleTag description to use @example
Browse files Browse the repository at this point in the history
  • Loading branch information
John Backus authored and backus committed Oct 26, 2015
1 parent 097ea65 commit d488fc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/yardstick/rules/example_tag.rb
Expand Up @@ -7,7 +7,7 @@ module Rules
# This applies only for public methods
#
class ExampleTag < Rule
self.description = 'The public/semipublic method should have an example specified'.freeze
self.description = 'The public/semipublic method should have an @example specified'.freeze

# @see class description
#
Expand Down
6 changes: 3 additions & 3 deletions spec/integration/yardstick/processor/process_string_spec.rb
Expand Up @@ -174,7 +174,7 @@ def test(value)
it { should be_kind_of(Yardstick::MeasurementSet) }

it 'has a correct measurement' do
expect(measurement('The public/semipublic method should have an example specified'))
expect(measurement('The public/semipublic method should have an @example specified'))
.to be_ok
end
end
Expand All @@ -191,7 +191,7 @@ def test(value)
it { should be_kind_of(Yardstick::MeasurementSet) }

it 'is skipped' do
expect(measurement('The public/semipublic method should have an example specified'))
expect(measurement('The public/semipublic method should have an @example specified'))
.to be_skip
end
end
Expand All @@ -210,7 +210,7 @@ def test(value)
it { should be_kind_of(Yardstick::MeasurementSet) }

it 'is skipped' do
expect(measurement('The public/semipublic method should have an example specified'))
expect(measurement('The public/semipublic method should have an @example specified'))
.to be_skip
end
end
Expand Down

0 comments on commit d488fc6

Please sign in to comment.