sugarcrm/rspec-tabular

View on GitHub
lib/rspec/tabular.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method its_with has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def its_with(attribute, *input_values, &block)
        if block.nil? && (metadata[:inputs].size == input_values.size - 1)
          expected_value = input_values.pop
          block = proc { should eq(expected_value) }
        end
Severity: Minor
Found in lib/rspec/tabular.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status