Sha256: 7b5fcdfe9cf806b661dfcbfd83fbd3921becb8eaaad2b3956be1b4c917b42b1f

Contents?: true

Size: 377 Bytes

Versions: 18

Compression:

Stored size: 377 Bytes

Contents

require 'rails_helper'
require 'sorbet-rails/job_rbi_formatter'

RSpec.describe SorbetRails::MailerRbiFormatter do

  it 'returns the expected rbi for a given array of helpers' do
    formatter = SorbetRails::JobRbiFormatter.new(AwardHousePointHourglasses)
    expect_match_file(
      formatter.generate_rbi,
      'expected_award_house_point_hourglasses.rbi'
    )
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sorbet-rails-0.7.34 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.33 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.32 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.31 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.27 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.26 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.25 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.24 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.23 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.22 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.20 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.19 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.18 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.5 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.4 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.3 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.2 spec/job_rbi_formatter_spec.rb
sorbet-rails-0.7.1 spec/job_rbi_formatter_spec.rb