Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Nov 7, 2023
1 parent 1bafd95 commit 3ade914
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions spec/factories/federal_tax_brackets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
#
FactoryBot.define do
factory :federal_tax_bracket do
tier { 'Tier 1' }
tier { "Tier 1" }
bottom_range_cents { 0 }
top_range_cents { 100000 }
rate { 0.1 }
cumulative_cents { 0 }

trait :tier_2 do
tier { 'Tier 2' }
tier { "Tier 2" }
bottom_range_cents { 1000100 }
top_range_cents { 10000000 }
rate { 0.15 }
cumulative_cents { 200000 }
end

trait :tier_3 do
tier { 'Tier 2' }
tier { "Tier 2" }
bottom_range_cents { 10000100 }
top_range_cents { 50000000 }
rate { 0.25 }
Expand Down
12 changes: 6 additions & 6 deletions spec/features/dashboard/dashboard_spec.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
require "rails_helper"

RSpec.describe "Dashboard", type: :feature do
let!(:income1) { create(:income)}
let!(:income2) { create(:income, :hourly)}
let!(:fed1) { create(:federal_tax_bracket)}
let!(:fed2) { create(:federal_tax_bracket, :tier_2)}
let!(:fed3) { create(:federal_tax_bracket, :tier_3)}
let!(:fixed_expenses) { create_list(:fixed_expense, 2)}
let!(:income1) { create(:income) }
let!(:income2) { create(:income, :hourly) }
let!(:fed1) { create(:federal_tax_bracket) }
let!(:fed2) { create(:federal_tax_bracket, :tier_2) }
let!(:fed3) { create(:federal_tax_bracket, :tier_3) }
let!(:fixed_expenses) { create_list(:fixed_expense, 2) }

describe "GET /index" do
it "routes to root path" do
Expand Down

0 comments on commit 3ade914

Please sign in to comment.