File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ The only difference with the original helper is that you must specify the autoco
171
171
I have created a step to test your autocomplete with Cucumber and Capybara, all you have to do is add the following lines to your * env.rb* file:
172
172
173
173
require 'cucumber/autocomplete'
174
-
174
+
175
175
Then you'll have access to the following step:
176
176
177
177
I choose "([^"]*)" in the autocomplete list
@@ -208,8 +208,23 @@ You need to have an instance of MongoDB running on your computer or all the mong
208
208
209
209
rake test
210
210
211
+ ## Integration tests
212
+
213
+ If you make changes or add features to the jQuery part, please make sure
214
+ you write a cucumber test for it.
215
+
216
+ You can find an example Rails app on the * integration* folder.
217
+
218
+ You can run the integration tests with the cucumber command while on the
219
+ integration folder:
220
+
221
+ cd integration
222
+ cucumber
223
+
211
224
# Changelog
212
225
226
+ * 0.6.1 Allow specifying fully qualified class name for model object as an option to autocomplete
227
+ * 0.6.0 JS Code cleanup
213
228
* 0.5.1 Add STI support
214
229
* 0.5.0 Formtastic support
215
230
* 0.4.0 MongoID support
You can’t perform that action at this time.
0 commit comments