Comments (4)
Changed it back to session[:cart] = ['apples', 'bananas', 'pears']
because cart was returning an empty array and so couldn't be iterated over. Reverting to original test code passed the specs.
from cookies_and_sessions_lab.
Seconded. I had another student on Screenshare and we had to revert back to session[:cart] = ['apples', 'bananas', 'pears']
from cookies_and_sessions_lab.
Third'ed, I had to change it to session[:cart] = ['apples', 'bananas', 'pears'], to pass the tests. Please chnage the test back.
from cookies_and_sessions_lab.
It looks as though the typo is changed and the issue resolved. session[:cart] = ['apples', 'bananas', 'pears']
from cookies_and_sessions_lab.
Related Issues (15)
- Lab instructions unclear. Solution a bit advanced.
- Doesn't follow RESTful conventions HOT 2
- Passed tests, but learn.co page says failed HOT 1
- Breaks if you don't name your variable 'cart' HOT 1
- Might need to add web-console to gemfile HOT 1
- Bugs Last 2 failure messages HOT 1
- Running learn throws Thor error HOT 1
- Issue with Gem Bundler HOT 1
- Index view is tested without utilizing controller
- products_index_spec seems wacky
- Cart.rb test raises capybara errors HOT 1
- product index spec assigns a varable instead of calls a method
- master and solution branches need to be synced HOT 1
- Using method described in readme will not pass lab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookies_and_sessions_lab.