Skip to content

Instantly share code, notes, and snippets.

@dsokolowski
dsokolowski / application.controller.js
Last active October 26, 2015 19:25
computed.sort
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
items: [{pos: 1, text: '1'},{pos: 2, text: '2'},{pos: 3, text: '3'}],
actions: {
changePos: function(){
@dsokolowski
dsokolowski / README.md
Created November 21, 2011 13:33
Integration capybara with minitest

##Integration capybara with minitest

Requirements:

  • ruby 1.9
  • gem capybara

All you have to do is to require file test_helper.rb at the beginning of your test files.