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

Testing stores in Rspec (ruby) #8

Open
barriehadfield opened this issue Feb 20, 2018 · 1 comment
Open

Testing stores in Rspec (ruby) #8

barriehadfield opened this issue Feb 20, 2018 · 1 comment

Comments

@barriehadfield
Copy link
Member

barriehadfield commented Feb 20, 2018

I am using RSpec to test Operations (in ruby, not in JavaScript) and it works well but I would also like to test a Store in this way. Reason for doing it in ruby is that the tests run fast. Problem is that Rspec will only see the Store if I put it in the /hyperloop/operations folder, Rspec does not see anything in hyperloop/stores. Is there somewhere I can configure this?

Issues happen like 'uninitialized constant React::Observable' so it is not as simple as moving it to the stores folder :-)

@catmando
Copy link
Contributor

We need to dummy up a few things so it can run standalone... excellent idea!

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