Sha256: d78b6f1e3fedfdd228243145fb604690cd5e6f4fe1b22b570100f4afe4a2fc75
Contents?: true
Size: 487 Bytes
Versions: 3
Compression:
Stored size: 487 Bytes
Contents
require 'spec_helper' module Refinery module Admin describe RefineryCoreController do login_refinery_user it "should update the plugin positions" do plugins = @refinery_user.plugins.reverse.collect {|p| p.name} post 'update_plugin_positions', :menu => plugins @refinery_user.plugins.reload @refinery_user.plugins.each_with_index do |plugin, idx| plugin.name.should eql(plugins[idx]) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems