Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Modernise and simplify implementation #3

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Conversation

davidtaylorhq
Copy link
Member

  • Lean on core ajax() function
  • Lean on core fullscreen-code modal
  • Add system spec
  • Add linting/CI config

- Lean on core ajax() function
- Lean on core fullscreen-code modal
- Add system spec
expect(page).to have_css(".fullscreen-code-modal")
expect(find(".fullscreen-code-modal code")).to have_text("**This is a test post**")
end
end
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we gotta start working on ruby linting for themes 🥲

@@ -0,0 +1,21 @@
# frozen_string_literal: true

RSpec.describe "Raw post button", system: true do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and I wouldn't mind having a rule for using either system: true xor type: :system 😛

@davidtaylorhq davidtaylorhq merged commit 68e2564 into main Jan 4, 2024
4 checks passed
@davidtaylorhq davidtaylorhq deleted the modernise branch January 4, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants