Skip to content
This repository has been archived by the owner on Apr 21, 2018. It is now read-only.

API for non-static sites (rspec musings) #12

Open
adelevie opened this issue Mar 4, 2015 · 3 comments
Open

API for non-static sites (rspec musings) #12

adelevie opened this issue Mar 4, 2015 · 3 comments

Comments

@adelevie
Copy link
Collaborator

adelevie commented Mar 4, 2015

For non-static sites, we need a way to just inspect a single string of HTML passed in from the test suite.

it "has an accessible login success page" do
   visit "/login"
   fill_in "username", with: "person"
   fill_in "password", with: "thePassword"
   click "submit"
   expect(page).to be_accessible
end
@benbalter
Copy link
Owner

I like that. On the back end, we'd likely just want to write to a temp file and treat it as a static site with a single file.

@adelevie
Copy link
Collaborator Author

adelevie commented Mar 4, 2015

Is this repo an appropriate place for an rspec-plugin? I think yes.

@benbalter
Copy link
Owner

I think yes too (at least until it's painful).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants