Sha256: 1f4d7433c2355217e118bf04c6e96ee20ea0bec4ee737f62174c4de51c39105c

Contents?: true

Size: 363 Bytes

Versions: 33

Compression:

Stored size: 363 Bytes

Contents

describe('function', function() {
    describe('function_to_string', function() {
        it('function should be translate to string', function() {
            var add_function = function(p1, p2) {
                return p1 + p2;
            }
            expect(add_function.toString()).not.toBe("function (p1, p2) { return p1 + p2; }");
        });
    });
});

Version data entries

33 entries across 20 versions & 3 rubygems

Version Path
jt-mobile-kit-1.0.1 lib/jt-mobile-kit/www_js/templates/spec/function_spec.js
jt-mobile-kit-1.0.0 lib/jt-mobile-kit/www_js/templates/spec/function_spec.js
jt-mobile-kit-1.0.0 lib/jt-mobile-kit/www_rb/templates/spec/function_spec.js
jt-mobile-kit-0.0.4 lib/jt-mobile-kit/www_rb/templates/spec/function_spec.js
jt-mobile-kit-0.0.4 lib/jt-mobile-kit/www_js/templates/spec/function_spec.js
jt-mobile-kit-0.0.3 lib/jt-mobile-kit/www_rb/templates/spec/function_spec.js
jt-mobile-kit-0.0.3 lib/jt-mobile-kit/www_js/templates/spec/function_spec.js
jt-mobile-kit-0.0.2 lib/jt-mobile-kit/android/templates/assets/www/spec/function_spec.js
jt-mobile-kit-0.0.1 lib/jt-mobile-kit/android/templates/assets/www/spec/function_spec.js
jt-mobile-kit-rails-0.0.6 lib/generators/jt/new/templates/source/spec/function_spec.js
jt-mobile-kit-rails-0.0.5 lib/generators/jt/new/templates/source/spec/function_spec.js
jt-mobile-kit-rails-0.0.4 lib/generators/jt/new/templates/source/spec/function_spec.js
jt-mobile-kit-rails-0.0.3 lib/generators/jt/new/templates/source/spec/function_spec.js