Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
markdoeswork committed Oct 29, 2024
1 parent 2f43643 commit 0c9db22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# frozen_string_literal: true

require_relative "../../../../app/pb_kits/playbook/pb_timeline/detail_area"
require_relative "../../../../app/pb_kits/playbook/pb_timeline/detail"

RSpec.describe Playbook::PbTimeline::DetailArea do
subject { Playbook::PbTimeline::DetailArea }
RSpec.describe Playbook::PbTimeline::Detail do
subject { Playbook::PbTimeline::Detail }

describe "#classname" do
it "returns the correct class name" do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# frozen_string_literal: true

require_relative "../../../../app/pb_kits/playbook/pb_timeline/date_area"
require_relative "../../../../app/pb_kits/playbook/pb_timeline/label"

RSpec.describe Playbook::PbTimeline::DateArea do
subject { Playbook::PbTimeline::DateArea }
RSpec.describe Playbook::PbTimeline::Label do
subject { Playbook::PbTimeline::Label }

it { is_expected.to define_prop(:date) }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# frozen_string_literal: true

require_relative "../../../../app/pb_kits/playbook/pb_timeline/node_area"
require_relative "../../../../app/pb_kits/playbook/pb_timeline/step"

RSpec.describe Playbook::PbTimeline::NodeArea do
subject { Playbook::PbTimeline::NodeArea }
RSpec.describe Playbook::PbTimeline::Step do
subject { Playbook::PbTimeline::Step }

it { is_expected.to define_prop(:icon) }

Expand Down

0 comments on commit 0c9db22

Please sign in to comment.